package com.ruoyi.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 进度模板查询DTO
 */
@Data
@ApiModel("进度模板查询DTO")
public class ProgressTemplateQueryDTO {

    @ApiModelProperty("模板名称")
    private String templateName;

    @ApiModelProperty("状态(0-禁用,1-启用)")
    private Integer status;

    @ApiModelProperty("是否默认模板")
    private Boolean isDefault;

    @ApiModelProperty("关联项目类型")
    private String associatedProject;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间开始")
    private LocalDateTime createTimeStart;

    @ApiModelProperty("创建时间结束")
    private LocalDateTime createTimeEnd;

    @ApiModelProperty("页码")
    private Integer pageNum = 1;

    @ApiModelProperty("页大小")
    private Integer pageSize = 10;

    @ApiModelProperty("排序字段")
    private String sortField;

    @ApiModelProperty("排序方向(asc/desc)")
    private String sortOrder = "desc";
}
